project(octtrackingcore)
cmake_minimum_required(VERSION 2.8)

find_package(Qt4 REQUIRED)
find_package(OpenCV REQUIRED)
find_package(VTK REQUIRED)
include_directories(${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR} ${OpenCV_INCLUDES} /usr/local/include/)
INCLUDE(${VTK_USE_FILE})

SET(USE_VTK ON)
SET(VTK_USE_QVTK ON)

add_executable(octtrackingcore Landmark.cpp OCTTrackingImpl.cpp LandmarkPattern.cpp OCTImageProcessing.cpp OCTLandmarkLocating.cpp OCTTrackingCore.cpp OCTSourceSetting.cpp main.cpp)
target_link_libraries(octtrackingcore ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${OpenCV_LIBS} vtkCommon)
